package com.hq.ims.data.event;

import com.hq.ims.data.entity.BusInfoFeedback;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 反馈事件
 *
 * @author jbp
 * @date 2024/11/8
 */
public class BusinfoFeedbackEvent extends ApplicationEvent {

    /**
     * 添加事件
     */
    public final static String ADD_EVENT = "ADD_EVENT";


    @Getter
    protected String eventType;

    @Getter
    private BusInfoFeedback busInfoFeedback;

    public BusinfoFeedbackEvent(Object source, BusInfoFeedback busInfoFeedback, String eventType) {
        super(source);
        this.busInfoFeedback = busInfoFeedback;
        this.eventType = eventType;
    }

}
